<cfif Not IsDefined("session.id")>
		<cflocation url = "/ecada/" addToken = "no">
</cfif>
	
<cfif IsDefined("session.experiment")>
	<!---<cfdump var="#session.experiment#">--->
	<cfset experiment = session.experiment>
<cfelse>
	<cflocation url="/ecada/"  addToken = "no">
</cfif>

<cfif IsDefined("form.CondID")>
	<cfquery datasource="exp">
		DELETE FROM conditions 
		WHERE id = #CondID#
	</cfquery>
	<cfset session.message = "Deleted Condtion!">
	<cflocation url="./../"  addToken = "no">
<cfelse>
	<cfset session.message = "Unknown Condition!">
	<cflocation url="./../"  addToken = "no">
</cfif>


